<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>老侯代读</title>
    <meta name="description" content=""/>
    <meta name="keywords" content=""/>
    <link rel="stylesheet" href="/css/style.css">
</head>
<body>
@if(count($entPayCard)==0)
    <div class="pay-success-box">
        <div class="pay-suc">
            <img class="bind-img" src="/images/bind-accound.jpg" alt=""><br/>
            <span class="bind-ac-text">您还未绑定任何<br>
银行卡或支付宝账号，请添加</span>
        </div>
    </div>
    <div class="wrap" style="background: none;">
        <a href="/partner/bankcode.html" class="mbtn mbtn-sure">下一步</a>
    </div>
@else
    <div class="con">
        <ul class="account-items">
            @foreach($entPayCard as $data)
                @if($data->PayType==2)
                    <li class="account clearfix zfb">
                        <img class="account-logo" src="/images/account-card.png" alt="">
                        <div class="account-info">
                            <p class="account-name">支付宝账号</p>
                            <p class="account-numb"><span>*</span><span>*</span><span>*</span><span>*</span>&nbsp&nbsp<span>*</span><span>*</span><span>*</span><span>*</span>&nbsp&nbsp<span>*</span><span>*</span><span>*</span><span>*</span>&nbsp&nbsp<?php echo substr($data->CardNo,-4);?></p>
                            </p>
                        </div>
                        {{--<img src="/images/checked.png" style="" class="check act"/>--}}
                        {{--<a href="钱包提现.html"></a>--}}
                        <img class="check" src="/images/checked.png" />
                        <a href="/partner/withdrawmoney/{{$data->PaCaID}}.html"> </a>
                    </li>
                    @else
                    <li class="account clearfix" style="background-color: #519bc5;">
                            <img class="account-logo" src="/images/account-card.png" alt="">
                            <div class="account-info">
                                <p class="account-name">{{$bankTypeList[$data->BankType]}}</p>
                                <p class="account-numb"><span>*</span><span>*</span><span>*</span><span>*</span>&nbsp&nbsp<span>*</span><span>*</span><span>*</span><span>*</span>&nbsp&nbsp<span>*</span><span>*</span><span>*</span><span>*</span>&nbsp&nbsp<?php echo substr($data->CardNo,-4);?></p>
                            </div>
                            <img class="check" src="/images/checked.png"/>
                            <a href="/partner/withdrawmoney/{{$data->PaCaID}}.html"> </a>

                    </li>
                    @endif

            @endforeach


        </ul>
        <a href="/partner/bankcode.html" class="mbtn add-accound-btn">+</a>
    </div>
@endif

</body>
</html>